[#include "../../../common/layout_content.html"]
[#include "../../../macro/ibox.html"]
[#include "../../../macro/form.html"]
[#include "../../../macro/bootstrap-table.html"]
[@header/]

[@body]
<div class="wrapper wrapper-content animated fadeIn">
    [@ibox]

    	[@iboxtitle]
            [@float direction="left"]
                <a class="btn btn-sm btn-info btn-outline rabbit-table-btn" table-event="save" win-with="open" win-width="100%" win-height="100%" ><i class="fa fa-plus-circle"> </i> 新增用户</a>
                <a class="btn btn-sm btn-danger btn-outline rabbit-table-btn" table-event="delete" win-with="confirm"><i class="fa fa-trash-o"> </i> 删除用户</a>
            [/@float]
            [@float direction="right"]
                [@form class="rabbit-search form-inline" id="searchForm"]
                    [@input id="userName" name="userName" class="form-control input-sm" text="账号名称" /]
                    [@input id="mobile" name="mobile" class="form-control input-sm" text="手机号码" /]
                    <button class="btn btn-sm btn-info" type="submit">查询</button>
                [/@form]
            [/@float]
        [/@iboxtitle]

        [@iboxbody]
            [@table id="userTable" number="number" select="checkbox" align="center"]
                <th data-field="userName" data-align="left" data-halign="center" data-width="30%">账号名称</th>
                <th data-field="realName" data-align="left" data-halign="center" data-width="45%">真实姓名</th>

                [@options width="15%"]
                    [@optionBtn class="btn btn-success btn-xs btn-outline rabbit-table-btn" tableEvent="modify" text="修改" winWith="open" winWidth="100%" winHeight="100%" winUrl="" icon="fa fa-object-ungroup" /]
                    [@optionBtn class="btn btn-warning btn-xs btn-outline rabbit-table-btn" tableEvent="detail" text="详情" winWith="right" winUrl="" icon="fa fa-sticky-note-o" /]
                [/@options]
            [/@table]
        [/@iboxbody]

    [/@ibox]
</div>
[/@body]

[@footer]
<script src="${scriptsURL}/modules/sys/user/manager.js"></script>
[/@footer]